package com.founder.chd_daily_query.entity.bid;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import javax.xml.crypto.Data;

import java.util.Date;
import java.util.Objects;

@Entity
@Table(name = "BidMain")
public class BidMainEntity {

  @Id
  private String bidId;
  @Column(name = "LOGISTIC_COMPANY_ID")
  private String logisticCompanyId;
  @Column(name = "BID_TYPE")
  private String bidType;
  @Column(name = "BID_STATUS")
  private String bidStatus;
  @Column(name = "BID_CATEGORY")
  private String bidCategory;
  @Column(name = "CREATE_DATE")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @JSONField(format = "yyyy-MM-dd")
  private java.sql.Date createDate;
  @Column(name = "LAST_UPDATE_DATE")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @JSONField(format = "yyyy-MM-dd")
  private java.sql.Date lastUpdateDate;


  public String getBidId() {
    return bidId;
  }

  public void setBidId(String bidId) {
    this.bidId = bidId;
  }


  public String getLogisticCompanyId() {
    return logisticCompanyId;
  }

  public void setLogisticCompanyId(String logisticCompanyId) {
    this.logisticCompanyId = logisticCompanyId;
  }


  public String getBidType() {
    return bidType;
  }

  public void setBidType(String bidType) {
    this.bidType = bidType;
  }


  public String getBidStatus() {
    return bidStatus;
  }

  public void setBidStatus(String bidStatus) {
    this.bidStatus = bidStatus;
  }


  public String getBidCategory() {
    return bidCategory;
  }

  public void setBidCategory(String bidCategory) {
    this.bidCategory = bidCategory;
  }


  public java.sql.Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(java.sql.Date createDate) {
    this.createDate = createDate;
  }


  public java.sql.Date getLastUpdateDate() {
    return lastUpdateDate;
  }

  public void setLastUpdateDate(java.sql.Date lastUpdateDate) {
    this.lastUpdateDate = lastUpdateDate;
  }

}

